
<%@ include file="/common/taglibs.jsp"%>

<head>
    <title><fmt:message key="packageDetail.title"/></title>
    <meta name="heading" content="<fmt:message key='packageDetail.heading'/>"/>
    <meta name="menu" content="RoleAdminCut"/>
</head>


<s:form id="packageDetailReviewForm" name="packageDetailReviewForm"
        action="packDetCutProcessReview" method="post" validate="true">

    <s:hidden name="asignationCut.id" value="%{asignationCut.id}"/>
    <s:hidden name="asignationCut.quantityUsed" value="%{asignationCut.quantityUsed}"/>

    <fieldset>
            <legend><fmt:message key="currentCut.currentCut"/></legend>
            <table class="tableGrey" id="currentCut" >
            <thead>
                <tr>
                    <th class="hidden"/>
                    <th><fmt:message key="asignationCut.id"/></th>
                    <th><fmt:message key="asignationCut.packageDetail.packageName"/></th>
                    <th><fmt:message key="asignationCut.quantityUsed"/></th>
                    <th class="hidden"/>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <td><s:property id="asignationCut.id" value="asignationCut.id"/></td>
                    <td><s:property id="asignationCut.packageDetail.packageName" value="asignationCut.packageDetail.packageName"/></td>
                    <td><s:property id="asignationCut.quantityUsed" value="asignationCut.quantityUsed"/></td>
                </tr>
            </tbody>
            </table>
    </fieldset>
    <fieldset>
            <legend><fmt:message key="currentCut.currentCut"/></legend>
            <table>
            <tr>
            <td> <s:textfield key="asignationCut.quantityUsedFail" required="true" cssClass="text medium"/> </td>
            <td> <s:textfield key="asignationCut.priceQuantUsedFail" required="true" cssClass="text medium"/> </td>
            </tr>
            </table>

            <li class="buttonBar bottom">
                <s:submit cssClass="button" method="saveQuantFailPackageDetail" key="button.save" theme="simple"/>
                <s:submit cssClass="button" method="cancelAddQuantPackageDetail" key="button.cancel" theme="simple"/>
            </li>
    </fieldset>
</s:form>

<script type="text/javascript">
    //Form.focusFirstElement($("purchaseDetailForm"));
</script>